home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form dlgDrawings
- BorderStyle = 3 'Fixed Dialog
- Caption = "Select Drawing"
- ClientHeight = 2280
- ClientLeft = 2760
- ClientTop = 3750
- ClientWidth = 6030
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2280
- ScaleWidth = 6030
- ShowInTaskbar = 0 'False
- Begin VB.ListBox lstDwgs
- Height = 1620
- Left = 120
- TabIndex = 2
- Top = 120
- Width = 3972
- End
- Begin VB.CommandButton CancelButton
- Caption = "Cancel"
- Height = 375
- Left = 4680
- TabIndex = 1
- Top = 600
- Width = 1215
- End
- Begin VB.CommandButton OKButton
- Caption = "OK"
- Height = 375
- Left = 4680
- TabIndex = 0
- Top = 120
- Width = 1215
- End
- Attribute VB_Name = "dlgDrawings"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- '******************************************************************'
- '* *'
- '* TurboCAD for Windows *'
- '* Copyright (c) 1993 - 2001 *'
- '* International Microcomputer Software, Inc. *'
- '* (IMSI) *'
- '* All rights reserved. *'
- '* *'
- '******************************************************************'
- Option Explicit
- Public bOK As Boolean
- Public indDwg As Long
- Private Sub CancelButton_Click()
- Hide
- End Sub
- Private Sub Form_Activate()
- bOK = False
- End Sub
- Private Sub OKButton_Click()
- If (lstDwgs.SelCount() = 1) Then
- indDwg = lstDwgs.ListIndex
- bOK = True
- End If
- Hide
- End Sub
-